package Thought;

import java.io.IOException;
import javax.xml.parsers.ParserConfigurationException;

import org.dom4j.DocumentException;
import org.xml.sax.SAXException;

import Threads.EnvironmentThread;
import Threads.ServiceThread;

public class Main {

	/**
	 * @param args
	 * @throws IOException
	 * @throws SAXException
	 * @throws ParserConfigurationException
	 * @throws DocumentException
	 * @throws ClassNotFoundException
	 * @throws IllegalAccessException
	 * @throws InstantiationException
	 */

	public static void main(String[] args) throws IOException,
			ParserConfigurationException, SAXException, DocumentException,
			ClassNotFoundException, InstantiationException,
			IllegalAccessException {
		
		ServiceThread service = new ServiceThread();	
		EnvironmentThread enviroment=new EnvironmentThread();
		enviroment.start();
		service.start();
		
	}
}
